package com.info.zhiduoduo.repository.entity.system;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

import lombok.Data;

@Data
@TableName("zdd_system_projectcategory")
public class ProjectCategory extends Model<ProjectCategory> {

    @TableId(value = "projectcategoryid",type = IdType.AUTO)
    private int projectcategoryid ;//` int(11) NOT NULL AUTO_INCREMENT,
    private String projectcategory;//` varchar(50) DEFAULT NULL,
    private int parentid;//` int(11) DEFAULT '0',
    @TableLogic
    private Integer deleted;

    @Override
    protected Serializable pkVal() {
        return projectcategoryid;
    }
}
